package com.lby.system.OssEntity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 阿里Oss实体类
 * @Auther: 李柏杨
 * @Date: 2021/5/12
 * @Description: com.lby.system.OssEntity
 * @version: 1.0
 *
 * 需要交给spring管理
 */
@Data
@Component
// 读取application.yml文件
@ConfigurationProperties(prefix = "alioss")
public class OssEntity {

    private String endpoint;

    private String accessKeyId;

    private String accessKeySecret;

    private String bucketName;

}
